//
//  DWNetworkingConfig.swift
//  DWSwift
//
//  Created by GDL on 2025/6/23.
//


import Moya
import Foundation
import DWCoreLib
public struct DWNetworkingConfig {
    init (){
        NetworkConfig.shared.baseURL = URL(string: "https://misadmin.sxzsnet.com/")!
        NetworkConfig.shared.commonHeaders["tenant-id"] = "152"
        NetworkConfig.shared.plugins.append(DWRequstNetworkPrintPlugin())
        NetworkConfig.shared.plugins.append(DWServerResponePlugin())
        NetworkConfig.shared.timeout = 5 // 5秒超时
    }
}


